package com.verlet.springbootdemo.simple.nettyrpc.server;

import com.verlet.springbootdemo.simple.nettyrpc.UserService;

/**
 * @author verlet
 * @date 2020/4/19
 */
public class UserServiceImpl implements UserService {
    @Override
    public String callRpc(String param) {
        try {
            Thread.sleep(3*1000);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        System.out.println(param);
        return param;
    }
}
